package com.jeecms.wicool.dao.groupBuy;

import com.jeecms.common.hibernate3.Updater;
import com.jeecms.common.page.Pagination;
import com.jeecms.wicool.entity.groupBuy.GroupBuy;

/**
 * Created by cuiyanlei on 15/6/10.
 */
public interface GroupBuyDao {
    public GroupBuy save(GroupBuy bean);

    public GroupBuy deleteById(Integer id);

    public GroupBuy updateByUpdater(Updater<GroupBuy> updater);

    public GroupBuy findById(Integer id);

    public Pagination getPage(Integer productId, String content, int pageNo, int pageSize);

}
